/**
 * Proyecto: Cognitum
 * Global IT Services 2008
 * @author Mislas
 */

Cognitum.Cartera.Estado.Editor = Ext.extend(Karma.EBCard, {

	initComponent: function(){
		Ext.apply(this, {
			sections: [{
				title: 'General',
		        items: [{
	                fieldLabel: 'Nombre',
	                name: 'Nombre'
	            },{
	                fieldLabel: 'Clave',
					name: 'Clave'
	            },{
	                fieldLabel: 'Clave lada',
					name: 'ClaveLada',
					allowBlank: true
	            },{
	                fieldLabel: 'Pais',
					xtype: 'entity.link', 
					entityName: 'Paises', 
					name: 'Pais',
					disabled: true
	            }]
			},{
				xtype: 'aud.editor',
				title: 'Seguridad'
			}]
		});
		
		Cognitum.Cartera.Estado.Editor.superclass.initComponent.apply(
			this, arguments);
	}
	
});

Ext.reg('edo.editor', Cognitum.Cartera.Estado.Editor);
